package com.zzl.bonds.ticket.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzl.bonds.ticket.dto.TicketFlowChartDto;
import com.zzl.bonds.ticket.entity.TicketFlowChartEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 流程图表
 * 
 * @author sunpp
 * @email 1171813232@qq.com
 * @date 2022-02-16 11:14:07
 */
@Mapper
@SuppressWarnings("javadoc")
public interface TicketFlowChartDao extends BaseMapper<TicketFlowChartEntity> {
    List<TicketFlowChartDto> ticketFlowChart(@Param("ticketOpenId") String ticketOpenId);

    TicketFlowChartEntity findFirstByTicketId(@Param("ticketId")String ticketId);
}
